package com.sanrenzu.everybodytv.ui.recommend;

import com.sanrenzu.everybodytv.base.IBaseModle;
import com.sanrenzu.everybodytv.base.IBasePresenter;
import com.sanrenzu.everybodytv.base.IBaseView;
import com.sanrenzu.everybodytv.bean.sms.BannerBean;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Callback;

/**
 * Created by asus on 2016/9/6.
 */
public class RecommendContract {
    public interface Model extends IBaseModle{
        public void getRecommend(Callback<ResponseBody> callback);
        public void getRecommendRecycleView(Callback<ResponseBody> callback);
        public void getRecommendViewPager(Callback<ResponseBody> callback);
    }

    public interface View extends IBaseView{
        public void onGetRecommendSuccess(List list);
        public void onGetRecommenddFail(String erro);

        //ViewPager的传值
        public void onGetRecommendViewPager(List<BannerBean> list);
        //RecyclerView的传值
        public void onGetRecommendRecycler(List list );
    }

    public interface Presenter extends IBasePresenter{
        public void getRecommendBean();
    }
}
